package com.itany.corejava.code07_面向对象.继承;

/**
 * @author 石小俊
 * 2024年07月15日 15:47
 */
public class WoMan extends Person {

    private int appearance; // 颜值0-100

    public int getAppearance() {
        return appearance;
    }

    public void setAppearance(int appearance) {
        this.appearance = appearance;
    }

    public void show() {
        System.out.println("女人负责貌美如花,我的颜值为:" + appearance);
    }

}
